home *** CD-ROM | disk | FTP | other *** search
/ ROM Magic / ROM Magic.iso / pc / 04_joshu / winprog / muchi.mmm / meta.txt < prev   
Encoding:
Text File  |  1995-05-23  |  6.4 KB  |  68 lines

  1. Name
  2. ----
  3. MUCHI□ROMmagic:ツ鞘\版ステコナ陳カ窶˜z:ニ筑ニ鍛ニ誰PROG:
  4.  
  5. Strings
  6. ------
  7. Macromedia Director
  8.  
  9. stxt
  10. ----
  11. --macro gameInit    puppetSprite 7, TRUE    set the width of sprite 7 = 0    puppetSprite 8, TRUE    set the width of sprite 8 = 252    global damagePoint, recoveryTime, prevmH, prevmV    put 0 into damagePoint    put 0 into recoveryTime    put 0 into prevmH    put 0 into prevmVmacro checkClick    global clickedItem    put EMPTY into clickedItem    if clickOn() = 10 then        put item 1 of the name of cast the castNum of sprite clickOn() into clickedItem        cursor 131    else        cursor 128        exit    end ifmacro moveMuchi    global clickedItem, ichigeki    put FALSE into ichigeki    if rollOver(3) or rollOver(4) then put TRUE into ichigeki        if ichigeki then        if clickedItem = "MUCHI" then            set the castNum of sprite 10 = the number of cast "MUCHI,2"            updateStage            set the castNum of sprite 10 = the number of cast "MUCHI,0"            updateStage        end if    else        if clickedItem = "MUCHI" then            set the castNum of sprite 10 = the number of cast "MUCHI,1"            updateStage            set the castNum of sprite 10 = the number of cast "MUCHI,0"            updateStage        end if    end ifmacro checkDamage    global damagePoint, clickedItem, ichigeki, mH, mV, prevmH, prevmV    cursor 128    moveMuchi    put the mouseH into mH    put the mouseV into mV    if abs(prevmH - mH) + abs(prevmV - mV) < 5 then exit    put mH into prevmH    put mV into prevmV    put 0 into hitPosition    repeat with spNum = 1 to 2        if sprite 10 within spNum then put spNum into hitPosition    end repeat    if hitPosition = 0 then exit    put random(7) into hitRate    if ichigeki then        sounds("Hooa")        go to "hit"        if hitRate = 3 then            put 50 into hitPoint        else            put 25 into hitPoint        end if    else        if hitRate = 1 or hitRate = 4 then            go to "hit"            put 20 into hitPoint        else            put 10 into hitPoint        end if    end if    if hitPosition = 0 then put hitPoint * 0 into hitPoint    if hitPosition = 1 then put hitPoint * 1.5 into hitPoint    if hitPosition = 2 then put hitPoint * 1.2 into hitPosition      put damagePoint + hitPoint into damagePoint    damageDisplaymacro recovery    global damagePoint, recoveryTime    if recoveryTime = 0 then put gameTimer() into recoveryTime    put gameTimer() - recoveryTime into recoveryTimeRate    put gameTimer() into recoveryTime    put -0.12 * recoveryTimeRate into recoveryPoint    put recoveryPoint + damagePoint into damagePoint    damageDisplaymacro judge    global damagePoint, muchiStatus    if damagePoint >= (252 * 0.9) then        put FALSE into muchiStatus        when mouseDown then nothing        when mouseUp then nothing        go to "fail"        exit    end if    if damagePoint >= (252 * 0.7) and damagePoint <= (252 * 0.75) then        when mouseDown then nothing        when mouseUp then nothing        go to "success"        exit    end ifmacro damageDisplay    global damagePoint    if damagePoint <= 0 then put 0 into damagePoint    if damagePoint >= 252 then put 252 into damagePoint    set the width of sprite 7 = damagePoint    judgemacro timeDisplay    put 250 - integer(gameTimer() * 250 / 5400) into timeCounter    if timeCounter <= 0 then        when mouseDown then nothing        when mouseUp then nothing        go to "timeOut"        exit    end if    set the width of sprite 8 = timeCountermacro gameTimer    global startTime    put (ticks() - startTime) into gameTime    return gameTime
  12. -- VIDEOmacro videoButton videoControl        global lastVideo        if videoControl = "stop" then go to marker(0) + 2    if videoControl = "play" then        if lastVideo then            go to marker(-3)            exit        else            go to marker(0) + 1        end if    end ifmacro setVideo videoNum    unLoad    set the startTime of sprite 23 = 0    set the movieTime of sprite 23 = 1    puppetSprite 23,TRUE     set the castNum of sprite 23 to videoNum    updateStagemacro playVideo        if the movieTime of sprite 23 >= (the stopTime of sprite 23) - 5 then        puppetSprite 23, FALSE        go to marker(1)    end ifmacro stopVideo    if the type of sprite 23 <> 0 then set the movieRate of sprite 23 = 0
  13.  
  14. Script Channel Commands
  15. --------------------
  16. moveableSpritego to marker(-1) + 2cursor 128gameInitput ticks() into startTimeif item 1 of systemData = "Macintosh" then    set the colorDepth = value(item 2 of systemData)    updateStage    repeat with n = 1 to 500        put n * n into m    end repeatend ifwhen mouseDown then nothingwhen mouseUp then nothingcursor 128go to movie "ENDTTL"setVideo A61put FALSE into lastVideoinitgo to the framepuppetSound 0when mouseDown then nothingwhen mouseUp then nothingput TRUE into muchiStatusrepeat with n = 1 to 24    puppetSprite n, FALSEend repeatupdateStagerecoverygo to "gameIdle"timeDisplaywhen mouseDown then checkClickwhen mouseUp then checkDamagerecoveryツ go to the frame--puppetSound "Hooa"recoverysetVideo A62go to marker(-2) + 2puppetSound "M17"puppetTransition 23go to marker(-3) + 3playVideogo to the framestopVideoset the locV of sprite 23 = -1000updateStagerepeat with n = 1 to 24    puppetSprite n, FALSEend repeatupdateStagestopVideogo to the framepuppetTransition 23go to "init"put TRUE into lastVideostopVideogo to the framereleaseDisplay
  17.  
  18. vwci
  19. ----
  20. 1025: □窶ケテェ窶凖俄\忸ツ絶\昶\「¥ナスツヲツ≫\「ナスナセナ テ”2
  21. 1029: □窶堋ィ窶披\凪\啀
  22. 1030: □窶堋ィ窶披\凪\啣
  23. 1031: □MASK
  24. 1033: □MUCHI,0
  25. 1034: □MUCHI,1
  26. 1035: □MUCHI,2
  27. 1037: □MUCHI,0
  28. 1038: □MUCHI,0
  29. 1041: □TimeOut
  30. 1042: □窶ケCツ静「
  31. 1043: □窶「a窶ケC
  32. 1044: □ツ坂\ー窶禿「ツ青ャナ津キ
  33. 1045: □again
  34. 1046: □again reset
  35. 1050: □テ「ナ。窶佚⒣\堋ソニ耽ニ辰ニ暖ニ停\ケ
  36. 1055: □M17
  37. 1056: □Hooa
  38. 1057: ␤1058: ␤1065: □MCI01QT□ROMmagic:DATA_1:□MCI01QTMooV
  39. 1066: □MCI02QT□ROMmagic:DATA_1:□MCI02QTMooV
  40. 1073: □non
  41. 1074: undefined
  42. 1075: undefined
  43. 1076: undefined
  44. 1077: undefined
  45. 1078: undefined
  46. 1079: undefined
  47. 1081: □message
  48. 1082: □startGame,down
  49. 1083: 
  50. howTo,down
  51. 1084: seeMovie,down
  52. 1085: □end,down
  53. 1086: □return,down
  54. 1087: □nextGoumon,down
  55. 1089: undefined
  56. 1090: undefined
  57. 1091: undefined
  58. 1092:     movie2,on
  59. 1097: □movie1,down
  60. 1099: □movie2,down
  61.  
  62. Fonts
  63. -----
  64. Osaka
  65. Geneva
  66.